package com.baobao_jk.tutorialmod.throwable.entity;

import com.baobao_jk.tutorialmod.init.ModEntity;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.projectile.EntityArrow;
import net.minecraft.entity.projectile.EntityThrowable;
import net.minecraft.network.datasync.DataSerializers;
import net.minecraft.network.datasync.EntityDataManager;
import net.minecraft.util.math.RayTraceResult;
import net.minecraft.world.World;
import net.minecraftforge.fml.common.registry.EntityEntry;

public class EntityIcebullet extends EntityThrowable {

    public EntityIcebullet(World worldIn){
        super(worldIn);
        ModEntity.ENTITYS.add(new EntityEntry(this.getClass(), ""))
    }


    public EntityIcebullet(World worldIn, EntityLivingBase throwerIn){
        super(worldIn, throwerIn);
    }


    public EntityIcebullet(World worldIn, double x, double y, double z){
        super(worldIn, x, y, z);
    }


    @Override
    protected void onImpact(RayTraceResult result) {

    }

    public void re(){
        this.dataManager.register(EntityDataManager.<Byte>createKey(EntityArrow.class, DataSerializers.BYTE), Byte.valueOf((byte)0));
    }
}
